/* 去除常见标签默认的 margin 和 padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* 设置网页统一的字体大小、行高、字体系列相关属性 */
body {
  font: 14px "PingFangSC-Regul", "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
  color: #333;
}
/* 去除列表默认样式 */
ul,
ol {
  list-style: none;
}
/* 去除默认的倾斜效果 */
em,
i {
  font-style: normal;
}
/* 去除a标签默认下划线，并设置默认文字颜色 */
a {
  text-decoration: none;
  color: #333;
}
/* 设置img的垂直对齐方式为居中对齐，去除img默认下间隙 */
img {
  width: 100%;
  display: block;
}
/* 去除input默认样式 */
input {
  border: none;
  outline: none;
  color: #333;
}
/* 省略号 */
.ellipsis-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
header {
  width: 100%;
  height: 11.7333vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-content: center;
  background-color: #fff;
  position: relative;
}
header h1 {
  font-size: 4.2667vw;
}
header a {
  position: absolute;
  width: 11.7333vw;
  height: 11.7333vw;
  left: 0;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
}
header a .iconfont {
  font-size: 4.2667vw;
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 13.0667vw;
  background-color: #fff;
  padding: 2.1333vw 0;
}
footer a {
  width: 20%;
  text-align: center;
  color: #7d7d7d;
}
footer a.iconfont {
  font-size: 5.0667vw;
  color: red;
}
footer a.cur {
  color: red;
}
footer a p {
  font-size: 3.2vw;
}
body,
html {
  height: 100%;
}
header {
  color: #000;
  background-color: #fff;
}
.search {
  padding: 2.6667vw;
  background-color: #fff;
  height: 13.3333vw;
}
.search .searchCont {
  width: 100%;
  background-color: #f1f1f2;
  border-radius: 13vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-content: center;
}
.search .searchCont i {
  font-size: 3.7333vw;
}
.search .searchCont p {
  font-size: 3.7333vw;
  height: 8vw;
  line-height: 8vw;
  color: #999;
}
.category {
  position: fixed;
  top: 25.0667vw;
  left: 0;
  right: 0;
  bottom: 13.3333vw;
  display: flex;
}
.category .menu {
  width: 22.9333vw;
  height: 100%;
  overflow-y: auto;
}
.category .menu a {
  height: 12vw;
  display: block;
  font-size: 3.4667vw;
  text-align: center;
  line-height: 12vw;
  background-color: #f8f8f8;
}
.category .menu a.cur {
  background-color: #fff;
  color: red;
}
.category .goods {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  position: relative;
}
.category .goods .noGood {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.category .goods .noGood p {
  font-size: 4.2667vw;
  text-align: center;
  margin-top: 53.3333vw;
}
.category .goods ul {
  padding: 0 2.6667vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.category .goods ul li {
  width: 33.333333%;
  text-align: center;
  white-space: wrap;
  margin: 2.6667vw 0;
}
.category .goods ul li div {
  width: 19.4667vw;
  height: 19.4667vw;
  margin: 0 auto;
}
